GenerativeComponents Help

Median

Returns the median of all of the numbers in the list.

Example

The median X value of the start points of those child lines that do not exceed the maximum length.

List.Median()

(from ln in line01
    where ln.Length <= maxLength
    select ln.StartPoint.X).Median()